package com.qzh.JDBC;

import com.qzh.summer.SummerException.SummerException;

import java.util.List;

public class test {
    public static void main(String[] args) throws SummerException {
        EasyDB easyDB = new EasyDB();
        easyDB.init("jdbc:mysql://localhost:3303/school?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8"
        ,"root","T8lCz!8v@O");
       List<student> students = easyDB.Select(student.class,"select * from student ");
       students.size();
    }
}
